<template>
  <!-- 对外担保 -->
  <div>
    <p style="font-weight: 700">
      对外担保信息
      <el-button type="primary" style="margin-left: 20px"
        ><el-icon><Plus /></el-icon>新增</el-button
      >
    </p>
    <el-table :data="tableData" style="font-size: 12px">
      <el-table-column prop="entOpenguaranteeid" label="序号" />
      <el-table-column prop="entGuaranteeobject" label="担保对象" />
      <el-table-column prop="entGuaranteemethod" label="担保方式" />
      <el-table-column prop="entGuaranteeamount" label="担保金额（元）" />
      <el-table-column prop="entGuaranteeenddate" label="担保截止日期" />
      <el-table-column prop="entEntGuaranteedate" label="担保信息" />
      <el-table-column label="操作">
        <el-icon style="color: #4eabfe"><Delete /></el-icon>
      </el-table-column>
    </el-table>
  </div>
</template>
<script setup>
import { ref, onMounted } from "vue";
import { danbao } from "../../../apis/Sltapi/GuanLi";
const input = ref("");
var tableData = ref([]);
onMounted(async () => {
  var res = await danbao();
  tableData.value = res.data.data;
  console.log(res);
});
</script>
      
<style scoped>
.el-input {
  font-size: 5px;
}
.el-button {
  background: none;
  color: #4eabfe;
}
</style>>